package com.group.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 */
public class User extends Model<User> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 登录名
     */
    @TableField("UserName")
    private String UserName;

    /**
     * 密码
     */
    @TableField("Password")
    private String Password;

    /**
     * 真实姓名
     */
    @TableField("RealName")
    private String RealName;

    /**
     * 用户类别
     */
    @TableField("UseType")
    private Integer UseType;

    /**
     * 医生职称ID
     */
    @TableField("DocTitleID")
    private Integer DocTitleID;

    /**
     * 是否参与排班
     */
    @TableField("IsScheduling")
    private String IsScheduling;

    /**
     * 所在科室ID
     */
    @TableField("DeptID")
    private Integer DeptID;

    /**
     * 挂号级别ID
     */
    @TableField("RegistLeID")
    private Integer RegistLeID;

    /**
     * 删除标记
     */
    @TableField("DelMark")
    private Integer DelMark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String UserName) {
        this.UserName = UserName;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String Password) {
        this.Password = Password;
    }

    public String getRealName() {
        return RealName;
    }

    public void setRealName(String RealName) {
        this.RealName = RealName;
    }

    public Integer getUseType() {
        return UseType;
    }

    public void setUseType(Integer UseType) {
        this.UseType = UseType;
    }

    public Integer getDocTitleID() {
        return DocTitleID;
    }

    public void setDocTitleID(Integer DocTitleID) {
        this.DocTitleID = DocTitleID;
    }

    public String getIsScheduling() {
        return IsScheduling;
    }

    public void setIsScheduling(String IsScheduling) {
        this.IsScheduling = IsScheduling;
    }

    public Integer getDeptID() {
        return DeptID;
    }

    public void setDeptID(Integer DeptID) {
        this.DeptID = DeptID;
    }

    public Integer getRegistLeID() {
        return RegistLeID;
    }

    public void setRegistLeID(Integer RegistLeID) {
        this.RegistLeID = RegistLeID;
    }

    public Integer getDelMark() {
        return DelMark;
    }

    public void setDelMark(Integer DelMark) {
        this.DelMark = DelMark;
    }

    public static final String ID = "ID";

    public static final String USERNAME = "UserName";

    public static final String PASSWORD = "Password";

    public static final String REALNAME = "RealName";

    public static final String USETYPE = "UseType";

    public static final String DOCTITLEID = "DocTitleID";

    public static final String ISSCHEDULING = "IsScheduling";

    public static final String DEPTID = "DeptID";

    public static final String REGISTLEID = "RegistLeID";

    public static final String DELMARK = "DelMark";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "User{" +
        "id=" + id +
        ", UserName=" + UserName +
        ", Password=" + Password +
        ", RealName=" + RealName +
        ", UseType=" + UseType +
        ", DocTitleID=" + DocTitleID +
        ", IsScheduling=" + IsScheduling +
        ", DeptID=" + DeptID +
        ", RegistLeID=" + RegistLeID +
        ", DelMark=" + DelMark +
        "}";
    }
}
